/* stylelint-disable at-rule-no-unknown */
@import "default";
.#{$confirm-prefix-cls} {
  .#{$style-prefix}-modal-header {
    display: none;
  }

  .#{$style-prefix}-modal-close {
    display: none;
  }

  .#{$style-prefix}-modal-body {
    padding: 32px 32px 24px;
  }

  &-body-wrapper {
    @include clearfix();
  }

  &-body {
    .#{$confirm-prefix-cls}-title {
      display: block;
      overflow: hidden;
      color: $heading-color;
      font-weight: 500;
      font-size: $font-size-lg;
      line-height: 1.4;
    }

    .#{$confirm-prefix-cls}-content {
      margin-top: 8px;
      font-size: $font-size-base;
      color: $text-color;
    }

    > .#{$iconfont-css-prefix} {
      float: left;
      margin-right: 16px;
      font-size: 22px;
      + .#{$confirm-prefix-cls}-title + .#{$confirm-prefix-cls}-content {
         margin-left: 38px;
      }
    }
  }

  .#{$confirm-prefix-cls}-btns {
    margin-top: 24px;
    float: right;

    button + button {
      margin-left: 8px;
      margin-bottom: 0;
    }
  }

  &-error &-body > .#{$iconfont-css-prefix} {
    color: $error-color;
  }

  &-warning &-body > .#{$iconfont-css-prefix},
  &-confirm &-body > .#{$iconfont-css-prefix} {
    color: $warning-color;
  }

  &-info &-body > .#{$iconfont-css-prefix} {
    color: $info-color;
  }

  &-success &-body > .#{$iconfont-css-prefix} {
    color: $success-color;
  }
}
